Parameters
- pen
- that determines the color, width, and style of the path.
- brush
- that determines the characteristics of the fill.
- path
- to draw and fill.
- fillMode
- Path fill mode.
| Exception | Description |
|---|---|
| java.lang.IllegalArgumentException | when path parameter is null |